package com.aaie.gru.role.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lvxing
 * @since 2019-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("gru_sys_role_user_map")
public class GruSysRoleUserMap implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色用户映射ID
     */
    @TableId(type = IdType.UUID)
    private String roleUserMapId;

    /**
     * 角色ID
     */
    private String roleId;

    /**
     * 用户ID（员工，家长，学校，学生，监护人）
     */
    private String userId;

    private String createName;

    private String createTime;

    private Long createTimeSort;

    private String updateName;

    private String updateTime;

    private Long updateTimeSort;


}
